package com.ruoyi.stock2.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 准备训练集对象 fasttext_train
 * 
 * @author ruoyi
 * @date 2021-08-17
 */
public class FasttextTrain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 代码 */
    @Excel(name = "代码")
    private String symbol;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 日期 */
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date datetime;

    /** 类型1、未下跌到均线反弹 2、上穿均线 3、杂图  4、上穿均线失败类型2的失败例子  5、类型1的失败例子 */
    @Excel(name = "类型1、未下跌到均线反弹 2、上穿均线 3、杂图  4、上穿均线失败类型2的失败例子  5、类型1的失败例子")
    private String type;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSymbol(String symbol) 
    {
        this.symbol = symbol;
    }

    public String getSymbol() 
    {
        return symbol;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDatetime(Date datetime) 
    {
        this.datetime = datetime;
    }

    public Date getDatetime() 
    {
        return datetime;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("symbol", getSymbol())
            .append("name", getName())
            .append("datetime", getDatetime())
            .append("type", getType())
            .toString();
    }
}
